﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Entities;
using System.Data.SqlClient;

namespace DataAccessLayer
{
    public class ThamSoDAL
    {
        QLNhaSach.DataService ds = new QLNhaSach.DataService();

        public DataTable layThongTinThamSo()
        {
            DataTable DT = new DataTable();
            try
            {
                string sql = String.Format("SELECT * FROM ThamSo");
                DT = ds.GetTable(sql);
                ds.Close();
            }
            catch (Exception)
            {
                throw;
            }
            return DT;
        }
    }
}
